package cn.edu.ren.service;

import cn.edu.ren.pojo.User;

import java.util.List;

/**
 * @PackageName: cn.edu.ren.service
 * @ClassName: IUserService
 * @Description:
 * @author: RZS
 * @date: 2021/5/20  17:06
 */
public interface IUserService {
    List<User> findAll();
    User findById(Integer id);
    void addUser(User user);
    User findByName(String name);
}
